import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';
import 'package:xindong/widgets/common/xindong_app_bar.dart';

class XinDongWebHtmlYeMian extends StatelessWidget {
  final String title;
  final String? html;

  const XinDongWebHtmlYeMian({super.key, required this.title, required this.html});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: XinDongAppBar(title),
      body: SingleChildScrollView(child: Html(data: html)),
    );
  }
}
